<html>
<head>
<style>
body {margin:0px; padding:0px;}
</style>
<link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{$xoops_url}>/modules/mp3player/include/windows/css/windows.css" />
<script type="text/javascript" src="<{$xoops_url}>/modules/mp3player/include/windows/js/windows.js"></script>
<script>
var janelaAberta = false;
var janelaPlayer;
function abreJanela(nome, tipo, url, titulo, resize, scrolling, width, height, left, top) {
	/* se left e top não forem informados, são calculados números aleatórios, porém nao aparece por cima na area do menu */
	var numberTop;
	var numberLeft;
	if (left == null) {numberLeft = Math.floor(Math.random()*200);} else {numberLeft = left;}
	if (top == null) {numberTop = Math.floor(Math.random()*200);} else {numberTop = top;}
	/*---------------------------------------------------------------------------------------------------------------------------*/
	dhtmlwindow.imagefiles = ['<{$xoops_url}>/modules/mp3player/include/windows/images/min.gif', '<{$xoops_url}>/modules/mp3player/include/windows/images/close.gif', '<{$xoops_url}>/modules/mp3player/include/windows/images/restore.gif', '<{$xoops_url}>/modules/mp3player/include/windows/images/resize.gif'];
	janelaPlayer = dhtmlwindow.open(nome, tipo, url, titulo, 'width=' + width + 'px,height=' + height + 'px,left=' + numberLeft + 'px,top=' + numberTop + 'px,resize=' + resize + ',scrolling=' + scrolling, 'recal');
	janelaAberta = true;
}
function carregaOnLoad() {
	abreJanela('mp3Player', 'inline', '<{$swf_obj}>', 'MP3 Player', 0, 0, 303, 209, 50, 50);
	janelaPlayer.onclose=function(){ if (confirm('<{$lang_mp3_close_msg}>')) {janelaAberta = false; return true;} else { return false; } };
}
window.onLoad = carregaOnLoad();
</script>
</head>
<body style="overflow:auto"> 
	<div style="position:absolute; top:0px; left;0px;; height:100%; width:100%">	
		<iframe src="<{$iframe_url}>" width="100%" height="100%" frameborder="0" marginheight="0" marginwidth="0" style="z-index:0"></iframe>
	</div>
</body>
</html>